<!--
 * @Author: your name
 * @Date: 2021-12-27 15:16:44
 * @LastEditTime: 2022-08-17 15:29:43
 * @LastEditors: yanMeng
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \ias_ui\src\views\coi\approve\index\complianceApprovalList.vue
-->
<template>
  <SwitchingTable v-model="value" :component-list="componentList">
    <component :is="value" :page="value" />
  </SwitchingTable>
</template>

<script>
import final from './list'
import final2 from './list'
import final3 from '../components/wrongDescription'
import SwitchingTable from '@/views/coi/components/SwitchingTable'

export default {
  name: 'ComplianceApprovalList',
  components: {
    final,
    final2,
    final3,
    SwitchingTable
  },
  data() {
    return {
      value: 'final',
      componentList: [
        {
          name: '新品',
          id: 'final'
        },
        {
          name: '维护',
          id: 'final2'
        },
        {
          name: '文描错误',
          id: 'final3'
        }
      ]
    }
  }
}
</script>
